/**
 * @type {String}
 *
 * @properties={typeid:35,uuid:"D143B58D-796D-4BC0-8E8C-23B65572A13E"}
 */
var frmCryptedText = null;

/**
 * @type {String}
 *
 * @properties={typeid:35,uuid:"218AF708-3FB3-402A-8AE3-8DC67E6E8B10"}
 */
var frmDecryptedText = null;

/**
 * @type {String}
 *
 * @properties={typeid:35,uuid:"D1551FF4-F76E-499F-BB8D-C2C094F80F06"}
 */
var frmText = 'My Text to Crypt';

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"767B8555-9B76-417C-BC79-421F9B16C70F"}
 */
function cmdCryptText_onAction(event) {
	frmCryptedText		= globals.cryptString(frmText,globals.cryptKey,'C');
	frmDecryptedText 	= globals.cryptString(frmCryptedText,globals.cryptKey,'D');
}
